const mongoose = require('../../mondules/fu/fu_db')

// 历史对话记录
const historicalSchema = new mongoose.Schema({
    userId: {
        type: mongoose.Types.ObjectId,
    },
    content: {
        type: String
    },
    time:{
        type: Date,
        default: Date.now
    }
})

const historicalModel = mongoose.model('historical', historicalSchema, 'historical')

module.exports = { historicalModel }